<?php
namespace app\admin\error;

class Menu{

    public static $addError     = [RESULT_CODE => 50001, RESULT_MESSAGE => '菜单添加失败', RESULT_SUCCESS => false];

    public static $nameRepeated     = [RESULT_CODE => 50002, RESULT_MESSAGE => '名称重复', RESULT_SUCCESS => false];

    public static $updateError    = [RESULT_CODE => 50004, RESULT_MESSAGE => '菜单编辑失败', RESULT_SUCCESS => false];

    public static $deleteError    = [RESULT_CODE => 50005, RESULT_MESSAGE => '菜单删除失败', RESULT_SUCCESS => false];

    public static $hasSonError    = [RESULT_CODE => 50006, RESULT_MESSAGE => '含有子菜单，无法删除', RESULT_SUCCESS => false];


}
